package d4l.model;



import java.util.*;


/**
 * A cognitive activity such as discussing, analysing, etc.
 * 
 * @author Darren Pearce
 * @version $Revision$
 * @version $Date$
 * 
 */
public class CognitiveActivity {

    private static Collection<CognitiveActivity> COGNITIVE_ACTIVITIES = new ArrayList<CognitiveActivity>();

    private String name;


    public CognitiveActivity(String name) {
        this.name = name;
        COGNITIVE_ACTIVITIES.add(this);
    }


    public String getName() {
        return name;
    }


    public static Collection<CognitiveActivity> getCognitiveActivities() {
        return Collections.unmodifiableCollection(COGNITIVE_ACTIVITIES);
    }

}
